#ifndef LINEEDIT_H
#define LINEEDIT_H


#include <QLineEdit>
//class QToolButton;

class LEdit : public QLineEdit
{
	Q_OBJECT
public:
	explicit LEdit(QWidget *parent = 0) :
		QLineEdit(parent) {}
//	virtual void keyPressEvent(QKeyEvent *event);
	virtual void focusInEvent(QFocusEvent *event);
};

//// might be useful later
//class LineEdit : public QWidget
//{
//	Q_OBJECT
//public:
//	explicit LineEdit(QWidget *parent = 0);
//	QString text() { return le->text(); }
//signals:
//	void returnPressed();
//	void textEdited(const QString &text);

//public slots:

//private:
//	LEdit *le;
////	QLineEdit *le;
//	QToolButton *eraseTB;
//};

#endif // LINEEDIT_H
